package com.inpion.gusfot;

public class BodyWrite extends AbstractBoardElement{
	
	private int listNo;
	private String writeSubject;
	private String writeName;
	private String writeTime;
	
	public BodyWrite() {
		super();
	}
	
	public BodyWrite(int listNo, String writeSubject, String writeName,
			String writeTime) {
		super();
		this.listNo = listNo;
		this.writeSubject = writeSubject;
		this.writeName = writeName;
		this.writeTime = writeTime;
	}

	public int getListNo() {
		return listNo;
	}
	public void setListNo(int listNo) {
		this.listNo = listNo;
	}
	public String getWriteSubject() {
		return writeSubject;
	}
	public void setWriteSubject(String writeSubject) {
		this.writeSubject = writeSubject;
	}
	public String getWriteName() {
		return writeName;
	}
	public void setWriteName(String writeName) {
		this.writeName = writeName;
	}
	public String getWriteTime() {
		return writeTime;
	}
	public void setWriteTime(String writeTime) {
		this.writeTime = writeTime;
	}
/*	
	public String render() {
		String retString =  "<tr>" +
								"<td>" + 
									getListNo() +
								"</td>" +
								"<td>" + 
									getWriteSubject() +
								"</td>" +
								"<td>" + 
									getWriteName() +
								"</td>" +
								"<td>" + 
									getWriteTime()+
								"</td>" +
							"</tr>";

		return retString;
	}
*/
	@Override
	public String getRenderString() {
		String retString =  "<tr>" +
				"<td>" + 
					getListNo() +
				"</td>" +
				"<td>" + 
					getWriteSubject() +
				"</td>" +
				"<td>" + 
					getWriteName() +
				"</td>" +
				"<td>" + 
					getWriteTime()+
				"</td>" +
			"</tr>";

		return retString;
}
	}
	
	/*
	public String render() {
		return getRenderString();
	}

	@Override
	public String getRenderString() {
		String retString =  "<tr>" +
				"<td>" + 
					getListNo() +
				"</td>" +
				"<td>" + 
					getWriteSubject() +
				"</td>" +
				"<td>" + 
					getWriteName() +
				"</td>" +
				"<td>" + 
					getWriteTime()+
				"</td>" +
			"</tr>";

		return retString;
	}
	*/
	

